package com.iot.core.data.service;

import com.iot.core.data.mapper.MyBaseMapper;
import org.springframework.beans.factory.annotation.Autowired;

public class ServiceImpl<M extends MyBaseMapper<T>, T> implements IService<T> {

    @Autowired
    protected M mapper;

    @Override
    public MyBaseMapper<T> getMapper() {
        return mapper;
    }
    @Override
    public MyBaseMapper<T> getBaseMapper() {
        return mapper;
    }

}